import {Notify} from 'quasar';

export type toastType = 'positive' | 'negative' | 'warning' | 'info' | 'ongoing'

export function toast(type: toastType, title: string, message?: string) {
  Notify.create({
    type,
    message: title,
    caption: message
  })
}
